package ketang.inherit;

public class Test {
    public static void main(String[] args) {
        CollegeStudent D=new CollegeStudent("代婷婷","52","四川幼专","发传单");
        System.out.println(D.xm);
        System.out.println(D.jz);
        CollegeStudent H=new CollegeStudent("黄狗狗","59","四川幼专","吃厕所");
        System.out.println(H.xm);
        System.out.println(H.jz);

        //H.study();
    }
}
